import { defineStore } from 'pinia';
import { ref } from 'vue';

export const useRadioOptionStore = defineStore('radioStore', () => {
  const selectedOption = ref<string>('smooth'); // 默认选中 'smooth'

  // 设置 selectedOption
  const setSelectedOption = (option: string) => {
    selectedOption.value = option;
  };

  return { selectedOption, setSelectedOption };
});